package com.max.sportmanage.service;

import com.max.sportmanage.common.Result;
import com.max.sportmanage.entity.SysUser;
import com.max.sportmanage.vo.LoginVo;

/**
 * @program: sport-manage-java
 * @description:业务逻辑接口
 * @author: max-qaq
 * @create: 2021-10-19 11:21
 **/

public interface SysUserService {
    /**
     *
     * 登录接口
     * 参数：账号 密码
     * @return 返回token，用token获取资源
     */
    Result login(LoginVo loginVo);

    SysUser getByUserName(String username);
}
